<template>
  <div id="app">
    <basic-layout/>
  </div>
</template>



<script setup lang="ts">
import BasicLayout from './layouts/BasicLayout.vue'
import {useLoginUserStore} from '@/stores/useLoginUserStore'

const useLoginStore=useLoginUserStore()
// 从 localStorage 中恢复登录信息,将信息重新存入pinia中
const falsetoken =JSON.parse(localStorage.getItem('falsetoken')) ;
if(falsetoken){
  useLoginStore.loginUser=falsetoken
}


</script>


<style scoped>
#app {
}
</style>
